<template>
  <div class="content">
    <excelimport :theader="theader"></excelimport>
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
import excelimport from "@/components/Excelimport/excelimport.vue";
import { Vue, Component } from "vue-property-decorator";
import { UserModule } from "@/store/modules/UserModule";

@Component({
  components: {
    excelimport
  }
})
export default class extends Vue {
  // 传入你的表头数据
  public theader = ["one", "two", "three", "four"];

  get cookie() {
    return UserModule.cookie;
  }
  set cookie(params: string) {
    UserModule.setCookie(params);
  }
}
</script>

<style lang="scss" scoped></style>
